xen/iommu: Consolidate device assignment ops into a single set
authorJulien Grall <julien.grall@linaro.org>
Wed, 25 Feb 2015 18:52:56 +0000 (18:52 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 2 Mar 2015 13:55:23 +0000 (13:55 +0000)
commit6a7601b4b2726f7922a856c116834cc725ab7817
treec61e8c569e83ad8519702277f3b758b3e689169c
parent6c5d3075d97ebe26661df063ee95b14168ad10f7
xen/iommu: Consolidate device assignment ops into a single set

On ARM, the way to assign device tree node is exactly the same as PCI.
Futhermore, all devices can be represented by a 'device_t'.
Therefore there is no need to add separate ops.

The x86 iommu drivers has not been modified to replace 'struct pci_dev'
by "device_t" because the latter is an alias of the former.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>\
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/drivers/passthrough/device_tree.c
xen/drivers/passthrough/pci.c
xen/include/xen/iommu.h